<%@ page pageEncoding="UTF-8"%>
<%@ include file="/common/common.jsp"%>
<%
	//获取部门列表
	//List list = QBuilder.db("basedb").queryHql("select new map(name as name ,py as py ,yjks_id as yjks_id , yjks_mc as yjks_mc ,yydm as yydm) from his_dept where yjks_id  in(1010,1020)");
	List list = QBuilder.db("basedb").queryHql("select new map(name as name ,id as id,yjks_id as yjks_id , yjks_mc as yjks_mc ,yydm as yydm) from his_dept where sfyy = 1 order by yxj");
	Message msg = new Message();
	msg.put("errcode",0);
	msg.put("data",list);
	out.println(msg);
%>